// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import api from './http'
import global from '@/utils/global'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css'
import i18n from './i18n' // 国际化
import store  from './store' // vuex
Vue.config.productionTip = false //生产环境中不显示关于vue的提升信息，避免产生过多的日志

Vue.use(ElementUI)
Vue.use(api)
Vue.prototype.global=global
new Vue({
  el: '#app',
  i18n,
  router,
  store,
  render: h => h(App)
})
